<html>
	<head>
		<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
        <title>AppEngine Log Server - Test</title>
	</head>

	<body>
        Test the log by adding a message from your browser:
        <br />
		
		<form action="/log" method="post">
            <div>
                User: {{ user_name }}
            </div>
			<div>
				Authorization code:
				<input type="text" name="a" id="a" size="10" />
			</div>
            <div>
                IP Address: {{ logger_ip }}
            </div>
			<div>
				Application Name:
				<input type="text" name="p" id="p" size="30" />
			</div>
			<div>
                Logger Name:
                <input type="text" name="l" id="l" size="20" />
            </div>
            <div>
                Severity:
                <select name="s" id="s">
                    <option value="0">TRACE</option>
                    <option value="1">DEBUG</option>
                    <option value="2">INFO</option>
                    <option value="3">WARN</option>
                    <option value="4">ERROR</option>
                    <option value="5">FATAL</option>
                </select>
            </div>
            <div>
                Message:
                <input type="text" name="m" id="m" size="60" />
            </div>
			<div>
                Stack dump: <br />
                <textarea name="d" id="d" rows="10" cols="60"></textarea>
            </div>
			<div>
                <input type="submit" value="Log">
            </div>
		</form>
		
		<a href="{{ url }}">{{ url_linktext }}</a>
	</body>
</html>
	